import request from '@/utils/request'

// 注册api
export const register = data => request.post('/user/register', data)

// 登录api
export const login = data => request.post('/user/login', data)

// 获取人员员相关的信息
export const useritem = () => request.get('/user/currentUser')
